package site.hanzhe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 权限表(CfAuth)实体类
 *
 * @author makejava
 * @since 2020-11-23 12:27:49
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("cf_auth")
public class AuthEntity {

    // 主键ID
    @TableId(type = IdType.AUTO)
    private Integer id;
    // 权限名称
    private String title;
    // 权限标识
    private String name;
    // 父节点ID
    private Integer categoryId;

}